package com.test;

public class Singleton {
	private static Singleton instanse =null;
	
	private Singleton(){
		System.out.println("dayin");
	}
	
	public static synchronized Singleton getInstanse(){
		if(instanse == null){
			instanse = new Singleton();
		}
		return instanse;
	}
	
	
}
